<?php
/**
 * Amazon-fba移库
 * (amazon-model)
 */
namespace App\Models\Amazon;

use Illuminate\Database\Eloquent\Model;
class FbaRemovalOrderDetail extends Model
{
    protected $connection = 'mysql_amazon';

    protected $table = 'fba_removal_order_detail';

    protected $guarded  = [];

    public static function getRequestDate(){
        $maxRequestDate = self::query()->max('request_date');
        return date('Y-m-d',strtotime('+1 days',strtotime($maxRequestDate)));
    }
}
